package com.smz.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smz.entity.TShelves;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TShelvesDAO  extends BaseMapper<TShelves> {

    /**
     * 按货区goodsNo和仓库编号 查货架
     * @param goodsNo
     * @return
     */
    List<TShelves> selectTShelvesByTReservoirId(@Param("goodsNo") Integer goodsNo,@Param("wareId")Integer wareId);

    //dy
    List<TShelves> selectFindAllShelves(Integer dameId);

    /**
     * @Authoe: smz
     * @Description: 仓库id，货区id查询货架
     * @Date: 15:10 2021-11-24
     */
    List<TShelves> selectTShelvesByGoodsNo(@Param("goodsNo")Integer id,@Param("wareId")Integer id2);

}
